﻿using System;
using System.Collections.Generic;


namespace HAVNet.Intros.AST
{
    public abstract class ASTVariableInitializer : ASTNode
    {
        
    }

    public class ASTVariableInitializerExpr : ASTVariableInitializer
    {
        public ASTExpr expr { get; set; }

        public ASTVariableInitializerExpr (ASTExpr expr)
        {
            this.expr = expr;
        }

        public override string ToString()
        {
            return expr.ToString();
        }
    }

    public class ASTVariableInitializerArray : ASTVariableInitializer
    {
        public override string ToString()
        {
            return "<var init array>"; //TODO:
        }
    }
}
